package com.hezhiqin.config;

import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @author: hezhiqin
 * @time: 2020/7/14 16:21
 */
@Component
public class DemoListener  implements ApplicationListener<DynamicMqttClient> {
    @Override
    public void onApplicationEvent(DynamicMqttClient dynamicMqttClient) {
        dynamicMqttClient.connection();
    }
}
